/**
 * 
 */
package com.apolo.sistema.excecoes;

/**
 * @author Armando
 *
 */
public class RepositorioException extends Exception{
	  private Exception exception;

	  public RepositorioException(Exception exception) {
	      super("Excecao encapsulada");
	      this.exception = exception;
	  }

	  public String getMessage() {
	      return exception.getMessage();
	  }

	  public void printStackTrace() {
	      exception.printStackTrace();
	  }
}
